package com.jic.member.mapper.power;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.power.MepowerProduct;
import com.jic.member.response.power.MepowerProductResponse;
import com.jic.member.response.power.MeproductResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 权益商品关联表
 * @author : 
 * @email : 
 * @since : 2020-05-11 02:45:38
 * @version : v1.0.0
 */
@Mapper
public interface  MepowerProductMapper {

    long insert(MepowerProduct mepowerProduct);

    long delete(Long id);

    long update(MepowerProduct mepowerProduct);

    MepowerProduct queryByPrimaryKey(Long id);

    List<MepowerProduct> query(MepowerProduct mepowerProduct);

    List<MepowerProduct> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mepowerProduct") MepowerProduct mepowerProduct);

    long queryPageCount(MepowerProduct mepowerProduct);

    List<MepowerProduct> querySku(MepowerProduct mepowerProduct);
}